const getToken = () => localStorage.getItem('token');
const isLogin = () => !!localStorage.getItem('token');
const removeUser = () => {
  localStorage.removeItem('role');
  localStorage.removeItem('token');
  localStorage.removeItem('userInfo');
}
export {
  getToken,
  isLogin,
  removeUser
}